# model.py

from google.appengine.ext import db

class UserProfile(db.Model):
  name = db.StringProperty(default='Unknown', required=True)
  droidGuideUser_key = db.StringProperty()
  birth_year = db.IntegerProperty(default=0, required=True)
  gender = db.StringProperty(default='Unknown', required=True)
  marital_status = db.StringProperty(default='Unknown', required=True)
  food = db.BooleanProperty(default=False, required=True)
  drink = db.BooleanProperty(default=False, required=True)
  style = db.StringProperty(default='Unknown', required=True)
  consumer = db.IntegerProperty(default=0, required=True)
  historical = db.IntegerProperty(default=0, required=True)
  ecological = db.IntegerProperty(default=0, required=True)
  gastronomic = db.IntegerProperty(default=0, required=True)
  cultural = db.IntegerProperty(default=0, required=True)
  bohemian = db.IntegerProperty(default=0, required=True)
  weather = db.BooleanProperty(default=False, required=True)
  traffic = db.BooleanProperty(default=False, required=True)
  signature = db.StringProperty()
  datetime = db.DateTimeProperty(auto_now = True)